#include<iostream>
using namespace std;

string a, b, sa[8], sb[8];

int main() {
    int n = 0;
    cin >> a >> b;
    while(cin >> sa[n] >> sb[n]) n++;
    
    return 0;
} 